package farmacia.gui.frenteLoja;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.JTextField;
import java.awt.Color;
import java.awt.Font;
import java.text.DateFormat;
import javax.swing.border.EtchedBorder;
import javax.swing.JButton;
import javax.swing.JTable;
import javax.swing.UIManager;

public class JfAtendimento extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_4;
	private JTextField textField_5;
	private JLabel lblQuantidade;
	private JLabel lblValor;
	private JLabel lblPrvenda;
	private JLabel lblVendedor;
	private JTextField textField_6;
	private JLabel lblNewLabel;
	private JTextField tfData;
	private JTextField textField_3;
	private JTextField textField_7;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		try {
			UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
		} catch (Throwable e) {
			e.printStackTrace();
		}
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					JfAtendimento frame = new JfAtendimento();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public JfAtendimento() {
		setTitle("Atendimento");
		
		setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		setBounds(100, 100, 1280, 800);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		contentPane.setLayout(new BorderLayout(0, 0));
		setContentPane(contentPane);
		
		JPanel panel = new JPanel();
		contentPane.add(panel, BorderLayout.CENTER);
		panel.setLayout(null);
		
		textField = new JTextField();
		textField.setFont(new Font("FreeSans", Font.BOLD | Font.ITALIC, 61));
		textField.setForeground(Color.WHITE);
		textField.setBackground(Color.BLUE);
		textField.setBounds(12, 100, 807, 73);
		panel.add(textField);
		textField.setColumns(10);
		
		textField_1 = new JTextField();
		textField_1.setFont(new Font("Dialog", Font.PLAIN, 61));
		textField_1.setBackground(Color.WHITE);
		textField_1.setEditable(false);
		textField_1.setEnabled(false);
		textField_1.setBounds(820, 101, 151, 72);
		panel.add(textField_1);
		textField_1.setColumns(10);
		
		textField_2 = new JTextField();
		textField_2.setFont(new Font("Dialog", Font.PLAIN, 61));
		textField_2.setForeground(Color.RED);
		textField_2.setBounds(983, 100, 267, 72);
		panel.add(textField_2);
		textField_2.setColumns(10);
		
		JLabel lblProduto = new JLabel("Produto");
		lblProduto.setBounds(12, 84, 70, 14);
		panel.add(lblProduto);
		
		lblQuantidade = new JLabel("Quantidade");
		lblQuantidade.setBounds(820, 84, 101, 14);
		panel.add(lblQuantidade);
		
		lblValor = new JLabel("Valor");
		lblValor.setBounds(983, 84, 70, 14);
		panel.add(lblValor);
		
		JPanel panel_1 = new JPanel();
		panel_1.setBorder(new EtchedBorder(EtchedBorder.RAISED, null, null));
		panel_1.setBounds(12, 12, 1242, 43);
		panel.add(panel_1);
		panel_1.setLayout(null);
		
		lblVendedor = new JLabel("Vendedor");
		lblVendedor.setBounds(396, 14, 88, 14);
		panel_1.add(lblVendedor);
		
		textField_5 = new JTextField();
		textField_5.setBounds(479, 12, 88, 18);
		panel_1.add(textField_5);
		textField_5.setEditable(false);
		textField_5.setColumns(10);
		
		textField_6 = new JTextField();
		textField_6.setBounds(579, 12, 178, 18);
		panel_1.add(textField_6);
		textField_6.setEditable(false);
		textField_6.setColumns(10);
		
		lblNewLabel = new JLabel("Data");
		lblNewLabel.setBounds(1066, 16, 70, 14);
		panel_1.add(lblNewLabel);
		
		tfData = new JTextField();
		
		
		tfData.setBounds(1116, 14, 114, 18);
		panel_1.add(tfData);
		tfData.setFont(new Font("Dialog", Font.BOLD | Font.ITALIC, 12));
		tfData.setEditable(false);
		tfData.setColumns(10);
		
		textField_4 = new JTextField();
		textField_4.setBounds(126, 14, 88, 18);
		panel_1.add(textField_4);
		textField_4.setEditable(false);
		textField_4.setColumns(10);
		
		lblPrvenda = new JLabel("Pré-Venda");
		lblPrvenda.setBounds(12, 16, 88, 14);
		panel_1.add(lblPrvenda);
		
		JButton btnNewButton = new JButton("F2 Tabela");
		btnNewButton.setBounds(12, 185, 117, 33);
		panel.add(btnNewButton);
		
		textField_3 = new JTextField();
		textField_3.setBounds(1136, 177, 114, 24);
		panel.add(textField_3);
		textField_3.setColumns(10);
		
		JLabel lblTotal = new JLabel("Total");
		lblTotal.setBounds(1060, 184, 70, 14);
		panel.add(lblTotal);
		
		textField_7 = new JTextField();
		textField_7.setBounds(1136, 675, 114, 18);
		panel.add(textField_7);
		textField_7.setColumns(10);
		
		JLabel lblLiquido = new JLabel("Liquido");
		lblLiquido.setBounds(1060, 677, 70, 14);
		panel.add(lblLiquido);
		
		JButton btnNewButton_1 = new JButton("F4 Quantidade");
		btnNewButton_1.setBounds(26, 670, 139, 46);
		panel.add(btnNewButton_1);
		
		JButton btnNewButton_2 = new JButton("F5 Cliente");
		btnNewButton_2.setBounds(177, 623, 139, 43);
		panel.add(btnNewButton_2);
		
		JButton btnNewButton_3 = new JButton("New button");
		btnNewButton_3.setBounds(871, 632, 117, 24);
		panel.add(btnNewButton_3);
		
		JButton btnNewButton_4 = new JButton("Confirma");
		btnNewButton_4.setBounds(479, 624, 139, 41);
		panel.add(btnNewButton_4);
		
		JButton btnNewButton_5 = new JButton("F7 Vendedor");
		btnNewButton_5.setBounds(328, 621, 139, 46);
		panel.add(btnNewButton_5);
		
		JButton btnNewButton_6 = new JButton("F8 Valor");
		btnNewButton_6.setBounds(328, 672, 139, 44);
		panel.add(btnNewButton_6);
		
		JButton btnNewButton_7 = new JButton("New button");
		btnNewButton_7.setBounds(936, 675, 117, 24);
		panel.add(btnNewButton_7);
		
		JButton btnNewButton_8 = new JButton("New button");
		btnNewButton_8.setBounds(983, 675, 117, 24);
		panel.add(btnNewButton_8);
		
		JButton btnOrcamento = new JButton("F3 Orçamento");
		btnOrcamento.setBounds(26, 621, 139, 43);
		panel.add(btnOrcamento);
		
		JButton btnNewButton_10 = new JButton("F6 Altereção");
		btnNewButton_10.setBounds(177, 672, 139, 43);
		panel.add(btnNewButton_10);
	}
}
